﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using xna_game_engine.source;

namespace xna_game_engine
{
    public static class GameGlobals
    {
        public static List<string> SkillNames;
        public static ContentManager Content;
        //public static MessageBox MessageBox;
        public static CombatTextManager CombatText;
        public static LevelManager LevelManager;
        public static LootManager LootManager;
        public static StateMachine StateMachine;
        public static EventManager EventManager;
        public static EnemyManager EnemyManager;
        public static SpellManager SpellManager;
        public static MasterItemList MasterItemList;
        public static Random RNG;

        public static bool ShowStatusText;

        public static List<BaseWizard> mPlayers;

        static GameGlobals()
        {
        }

        public static void Init()
        {
            mPlayers = new List<BaseWizard>();
            //MessageBox = new MessageBox();
            CombatText = new CombatTextManager();
            LevelManager = new LevelManager();
            LootManager = new LootManager();
            SkillNames = new List<string>();
            StateMachine = new StateMachine();
            EventManager = new EventManager();
            EnemyManager = new EnemyManager();
            MasterItemList = new MasterItemList();
            SpellManager = new SpellManager();
            RNG = new Random();

            ShowStatusText = true;

            //MessageBox.Initialize();
            LevelManager.Initialize();
        }
    }
}
